#pragma once

class CEX Thread:public Object
{
	pthread_t _pth;

	friend class ThreadMan;

public:

	virtual const char* __getName(){return "Thread";}

	Thread();
	~Thread();



	virtual void onThreadStart() = 0;
};
